package com.jxmcloud.business.cut.model.json;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import com.jxmcloud.business.cut.handler.IntegerArrayTypeHandler;
@Data
@TableName(value = "config_progress", autoResultMap = true)
public class ConfigProgress {
    @TableField("`id`")
    private Integer id;       // 流程ID
    @TableField(value = "`start_event`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] startEvent;       // 界面启动事件(1)
    @TableField(value = "`time_event`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] timeEvent;       // 显示N秒后发送事件(2)
    @TableField(value = "`close_event`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] closeEvent;       // 关闭界面事件(3)
    @TableField(value = "`click_event`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] clickEvent;       // 点击事件(4,5,6)
    @TableField(value = "`share_event`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] shareEvent;       // 分享成功事件
    @TableField(value = "`award`", typeHandler = IntegerArrayTypeHandler.class)
    private Integer[] award;       // 触发奖励
    @TableField("`award_title`")
    private String awardTitle;       // 触发奖励标题
    @TableField("`order_trans`")
    private Integer orderTrans;       // 是否需要订单转换
    @TableField("`round_type`")
    private Integer roundType;       // 转盘类型
    @TableField("`progress_type`")
    private Integer progressType;       // 流程类型
}